Statistical modelling/Milk offtake

Changing the LOCATION code can be done using the factor reordering facility (SpreadFactorReorder levels...). The factor levels themselves do not change in the spread sheet but they are considered to occur in a different order.

The parameter value for LOCATION 1 for Bilisa is now shown (the same value as before but with the sign reversed). The constant term value of 1.314 now refers to Assa and its standard error can be seen to be the value 0.125 included in the equation on the previous page.

 

 

***** Regression Analysis *****

Response variate: TOTALM
Fitted terms: Constant + LOCATION + AGEC

*** Summary of analysis ***

d.f.

s.s.

m.s.

v.r.

Regression

2

27.12

13.5612

40.08

Residual

161

54.47

0.3383

 

Total

163

81.60

0.5006

 

*** Estimates of parameters ***

estimate

s.e.

t(161)

Constant

1.314

0.125

10.52

LOCATION 1

0.8218

0.0971

8.46

AGEC

-0.0511

0.0169

-3.02

Parameters for factors are differences compared with the reference level:
Factor Reference level
LOCATION 2